package com.qyhl.webtv.module_news.luckydraw.ticketsinfo;


import com.qyhl.webtv.commonlib.entity.news.LuckDrawInfoBean;

import java.util.List;

public interface LuckDrawTicketsInfoContract {
    interface LuckDrawTicketsInfoView {
        void queryTicketsInfoSuccess(List<LuckDrawInfoBean> beanList, boolean isMore);

        void queryTicketsInfoError(String msg);

        void setEmpty(String msg);

        void setLog(String msg);

        void setNetError(String msg);

        void showToast(String msg);
    }

    interface LuckDrawTicketsInfoPresenter {
        void queryTicketsInfo(String phoneNum, String lastId);

        void queryTicketsInfoSuccess(List<LuckDrawInfoBean> beanList, boolean isMore);

        void queryTicketsInfoError(int code, String msg);
    }

    interface LuckDrawTicketsInfoModel {
        void queryTicketsInfo(String phoneNum, String lastId);
    }

}
